import React from 'react'
import ProjectItem from './ProjectItem';
import { createItemContent } from './CreateItemList';
import Title from './Title';

export default function Projects() {
    const ItemList = createItemContent()
    return (
        <article>
            <Title text="项目经历" />
            <ol>{ItemList.map((itemProps, index) => <ProjectItem key={index} {...itemProps} />)}</ol>
        </article>
    )
}
